/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.iecg.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 用户紧急联系
 *
 * @author pigx code generator
 * @date 2019-10-16 09:58:43
 */
@Data
@TableName("iecg_user_emergency")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "用户紧急联系")
public class IecgUserEmergency extends Model<IecgUserEmergency> {
private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId
    @ApiModelProperty(value="编号")
    private Long id;
    /**
     * 用户名
     */
    @ApiModelProperty(value="用户名")
    private String userName;
    /**
     * 联系人姓名
     */
    @ApiModelProperty(value="联系人姓名")
    private String contactName;
    /**
     * 联系方式
     */
    @ApiModelProperty(value="联系方式")
    private String contactPhone;
	/**
	 * 联系人地址
	 */
	@ApiModelProperty(value="联系人地址")
	private String contactAddress;
	/**
	 * 联系人邮箱
	 */
	@ApiModelProperty(value="联系人邮箱")
	private String contactEmail;
    /**
     * 关系
     */
    @ApiModelProperty(value="关系")
    private String relationship;
	/**
	 * 手机验证码
	 */
	@TableField(exist = false)
	@ApiModelProperty(value="手机验证码")
	private String code;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;
    /**
     * 删除标记
     */
    @ApiModelProperty(value="删除标记")
    private String delFlag;
    }
